package com.sc.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class StudyFile implements Serializable {
    private StudyNote note;

    public StudyNote getNote() {
        return note;
    }

    public void setNote(StudyNote note) {
        this.note = note;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    private Integer fid;

    private Integer nid;

    private Integer id;
    private String fname;//真实文件名

    private String cfile;//修改文件名

    private String path;

    private Date upldate;

    public Integer getId() {
        return id;
    }
    private StudyFile studyFile;

    public StudyFile getStudyFile() {
        return studyFile;
    }

    public void setStudyFile(StudyFile studyFile) {
        this.studyFile = studyFile;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    private static final long serialVersionUID = 1L;

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public Integer getNid() {
        return nid;
    }

    public void setNid(Integer nid) {
        this.nid = nid;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname == null ? null : fname.trim();
    }

    public String getCfile() {
        return cfile;
    }

    public void setCfile(String cfile) {
        this.cfile = cfile == null ? null : cfile.trim();
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path == null ? null : path.trim();
    }

    public Date getUpldate() {
        return upldate;
    }

    public void setUpldate(Date upldate) {
        this.upldate = upldate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", fid=").append(fid);
        sb.append(", nid=").append(nid);
        sb.append(", fname=").append(fname);
        sb.append(", cfile=").append(cfile);
        sb.append(", path=").append(path);
        sb.append(", upldate=").append(upldate);
        sb.append("]");
        return sb.toString();
    }


}